{extend name="main/index" /}
{block name="main"}

<div class="content-page">
    <div class="content">
        <div class="row">
            <div class="col-sm-6">
                <h4>添加权限</h4>
                <form role="form" action="{:url('admin/permission/pmdoadd')}" method="post">
                    <div class="form-group">
                        <input type="text" class="form-control" name="permission" placeholder="权限名">
                    </div>
                    <div class="form-group">
                        <input type="text" class="form-control" name="controller" placeholder="控制器名">
                    </div>
                    <div class="form-group">
                        <input type="text" class="form-control" name="function" placeholder="方法名">
                    </div>

                    <button type="submit" class="btn btn-default">确认添加</button>
                </form>
            </div>
        </div>
    </div>

    {/block}